package com.hx.hospital.service;


import com.hx.common.result.PageResult;
import com.hx.hospital.pojo.Yuyue;

import java.util.List;
import java.util.Map;

/**
 * yuyue业务逻辑层
 */
public interface YuyueService {

    public List<Yuyue> findYuyueAll(Long userId);

    public List<Yuyue> findYuyueById(Long Id);


    public List<Yuyue> findAll();


    public PageResult<Yuyue> findPage(int page, int size);


    public List<Yuyue> findList(Map<String, Object> searchMap);


    public PageResult<Yuyue> findPage(Map<String, Object> searchMap, int page, int size);


    public Yuyue findById(Long id);

    public void add(Yuyue yuyue);


    public void update(Yuyue yuyue);


    public void delete(Long id);

}
